home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 February: Tool Chest / Dev.CD Feb 94.toast / Tool Chest / Development Platforms / MPW Related / MPW Interfaces / CIncludes / FileTransferTools.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-09-17  |  1.4 KB  |  91 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        FileTransferTools.h
  3.  
  4.     Copyright:    © 1983-1993 by Apple Computer, Inc.
  5.                 All rights reserved.
  6.  
  7.     Version:    System 7.1 for ETO #11
  8.     Created:    Tuesday, March 30, 1993 18:00
  9.  
  10. */
  11.  
  12. #ifndef __FILETRANSFERTOOLS__
  13. #define __FILETRANSFERTOOLS__
  14.  
  15. #ifndef __DIALOGS__
  16. #include <Dialogs.h>
  17. #endif
  18.  
  19. #ifndef __FILETRANSFERS__
  20. #include <FileTransfers.h>
  21. #endif
  22.  
  23.  
  24. enum {
  25.  
  26.  
  27. /* Control */
  28.  ftInitMsg = 0,
  29.  ftDisposeMsg = 1,
  30.  ftSuspendMsg = 2,
  31.  ftResumeMsg = 3,
  32.  ftMenuMsg = 4,
  33.  ftEventMsg = 5,
  34.  ftActivateMsg = 6,
  35.  ftDeactivateMsg = 7,
  36.  ftGetErrorStringMsg = 8,
  37.  
  38.  ftAbortMsg = 52,
  39.  
  40.  ftStartMsg = 100,
  41.  ftExecMsg = 102,
  42.  ftSendMsg = 103,
  43.  ftReceiveMsg = 104,
  44.  
  45. /*Setup */
  46.  ftSpreflightMsg = 0,
  47.  ftSsetupMsg = 1,
  48.  ftSitemMsg = 2,
  49.  ftSfilterMsg = 3,
  50.  ftScleanupMsg = 4,
  51.  
  52. /* validate */
  53.  ftValidateMsg = 0
  54. };
  55. enum {
  56.  ftDefaultMsg = 1,
  57.  
  58. /* scripting */
  59.  ftMgetMsg = 0,
  60.  ftMsetMsg = 1,
  61.  
  62. /* localization */
  63.  ftL2English = 0,
  64.  ftL2Intl = 1
  65.  
  66. /* DEFs */
  67.  
  68. #define fdefType 'fdef'
  69. #define fsetType 'fset'
  70. #define fvalType 'fval'
  71. #define flocType 'floc'
  72. #define fscrType 'fscr'
  73.  
  74. #define fbndType 'fbnd'
  75. #define fverType 'vers'
  76. };
  77.  
  78. struct FTSetupStruct {
  79.  DialogPtr theDialog;    /* the dialog form the application */
  80.  short count;            /* first appended item */
  81.  Ptr theConfig;            /* the config record to setup */
  82.  short procID;            /* procID of the tool */
  83. };
  84.  
  85. typedef struct FTSetupStruct FTSetupStruct;
  86. typedef FTSetupStruct *FTSetupPtr;
  87.  
  88.  
  89.  
  90. #endif
  91.